package com.biz.primus.ms.oms.dao.po;

import com.biz.primus.ms.base.jpa.po.BaseEntityPKIncrement;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 *
 * 中台收单渠道
 * @author yanweijin
 * @date 2017/9/22
 */
@Entity
@Data
@Table(name="oms_channel")
public class OmsChannel extends BaseEntityPKIncrement{

	@Column(updatable = false, length = 64, unique = true)
	private String channel;

	@Column(length = 30)
	private String channelName;

	@Column(length = 200)
	private String description;

	/**
	 * 是否是线上渠道
	 */
	private boolean onlineChannel;
	/**
	 * 是否是自有渠道
	 */
	private boolean selfChannel;

}
